package com.baitiaojun.moments.service;

import com.baitiaojun.api.domain.moments.UserVideoMoments;
import com.baitiaojun.api.exception.ConditionException;

/**
 * @类名 UserVideoMomentsService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/1/16 13:06
 * @版本 1.0
 */
public interface VideoMomentsService {

    void saveUserVideoMoments(UserVideoMoments userVideoMoments) throws ConditionException;

    UserVideoMoments getUserVideoMoments(Long contentId, Long userId) throws Exception;

    void publishVideoMoments(Long videoId, Long userId) throws Exception;

    Long getVideoMomentsIdByVideoId(Long id);
}
